home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / haveseat.pov < prev    next >
Encoding:
Text File  |  1994-05-26  |  1.5 KB  |  61 lines

  1. // "HAVESEAT.POV" POV-Ray 2.0 Scene File
  2. //
  3. //    by Sami.Rosenblad@Helsinki.FI
  4. //
  5. //
  6. // This is a picture of a room with a glass table
  7. // and two chairs. "Have a seat!"
  8. // I was about to place an ashtray on the table, but
  9. // I don't smoke. B-)
  10. //
  11. // Note: all distances are measured in millimetres
  12.  
  13.  
  14. #include "colors.inc"
  15. #include "textures.inc"
  16. #include "chair.inc"
  17. #include "table.inc"
  18. #include "poster.inc"
  19. #include "room.inc"
  20.  
  21. // declare textures
  22.  
  23. #declare Sky = texture {
  24.     pigment { bozo turbulence 4 scale 5e5 color_map {
  25.         [ 0.6    color rgb <0.5, 0.5, 1.0> ]
  26.         [ 0.7    color rgb <1.0, 1.0, 1.0> ]
  27.         [ 1.01    color rgb <0.8, 0.8, 0.8> ] }
  28.     }
  29.     finish { ambient 1 diffuse 0 }
  30. }
  31. #declare Grass = texture {
  32.     pigment { rgb <0.1, 0.6, 0.12> }
  33.     finish { ambient 0.96 diffuse 0.2 crand 0.05 }
  34. }
  35.  
  36. // use grass color as background to fill the gap in the horizon
  37.  
  38. background { color rgb <0.1, 0.6, 0.12> }
  39.  
  40. camera {
  41.     location <1000, 900, -4000>
  42.     direction 1.6*z
  43.     right 4/3*x
  44.     look_at <200, 700, 0>
  45. }
  46.  
  47. // daylight thru the window and another light in the room
  48.  
  49. light_source { <-10000, 8000, 1000> color rgb <2, 2, 2> }
  50. light_source { <1300, 1700, -2000> color rgb <1, 1, 0.8> }
  51.  
  52. // construct the scene
  53.  
  54. plane { y, 1e5 texture { Sky } }
  55. plane { y, -rh/2-t texture { Grass } }
  56. object { Room }
  57. object { Chair    rotate -142*y translate <-260, h+r, -600> }
  58. object { Chair    rotate   34*y translate < 900, h+r,  440> }
  59. object { Table    rotate 20*y translate <500, q, -300> }
  60. object { Poster translate <-900, 200, 3000> }
  61.